import request from "@/src/utils/request";

/* 获取文章版块分类 */
export function getArticleCategory() {
    return request({
        url: "/article/getArticleCategory",
        method: "get",
        headers: {
            isToken: false,
        },
    });
}
/* 获取文章详情 */
export function getArticleDetail(data) {
    return request({
        url: "/article/getArticleDetail",
        method: "get",
        params: data,
        headers: {
            isToken: false,
        },
    });
}